/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    padding-top: 76px;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-link {
    font-size: 1.1rem;
    margin: 0 5px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #007bff !important;
}

/* 轮播图样式 */
.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
}

/* 标题样式 */
section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #007bff;
}

/* 卡片样式 */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* 联系表单样式 */
.form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 12px;
}

.form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}

.btn-primary {
    padding: 12px 30px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 页脚样式 */
footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #007bff !important;
}

/* 响应式样式 */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }

    .carousel-item {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    section {
        padding: 40px 0;
    }

    .card {
        margin-bottom: 20px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        text-align: center;
        padding: 10px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .section h2, .about-content {
    animation: fadeInUp 0.6s ease-out;
}